package com.sdy.dcsb.biz.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sdy.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 服务消费者系统下群组的IP信息表
 * </p>
 *
 * @author fb
 * @since 2019-09-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence(value = "SEQ_ESB_CONSUMER_SYSTEM_IP", clazz = Integer.class)
public class EsbConsumerSystemIp extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * 主键,系统id
     */
    @TableId(value = "id",type = IdType.INPUT)
    private Integer id;

    /**
     * IP所在系统id
     */
    private Integer systemid;

    /**
     * IP所在群组id
     */
    private Integer groupid;

    /**
     * IP地址
     */
    private String ip;

    /**
     * 端口
     */
    private String port;

    /**
     * 状态。1:在用(默认),0:不在用
     */
    private String status;

}
